package com.lei.baweiliao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @ProjectName : BaweiLiao
 * @Author : 雷金泷
 * @Time : 2021/1/14 11:16
 * @Description : 文件描述
 */
@Entity(nameInDb = "USERBEAAN")
public class UserBean {
    @Id(autoincrement = true)
    @Unique
    private Long id;
    @Property(nameInDb = "user_hxid")
    private String user_hxid;//用户的id
    @Property(nameInDb = "user_name")
    private String user_name;//用户的名称

    public UserBean(Long id, String user_hxid, String user_name) {
        this.id = id;
        this.user_hxid = user_hxid;
        this.user_name = user_name;
    }

    @Property(nameInDb = "group_hxid")
    private String group_hxid;//群聊的id
    @Property(nameInDb = "group_name")
    private String group_name;//群聊的名称

    @Property(nameInDb = "reason")
    private String reason;//邀请的原因
    @Property(nameInDb = "status")
    private String status;//邀请的状态
    @Keep
    public UserBean(Long id, String user_hxid, String user_name, String group_hxid,
            String group_name, String reason, String status) {
        this.id = id;
        this.user_hxid = user_hxid;
        this.user_name = user_name;
        this.group_hxid = group_hxid;
        this.group_name = group_name;
        this.reason = reason;
        this.status = status;
    }
    @Generated(hash = 1203313951)
    public UserBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUser_hxid() {
        return this.user_hxid;
    }
    public void setUser_hxid(String user_hxid) {
        this.user_hxid = user_hxid;
    }
    public String getUser_name() {
        return this.user_name;
    }
    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }
    public String getGroup_hxid() {
        return this.group_hxid;
    }
    public void setGroup_hxid(String group_hxid) {
        this.group_hxid = group_hxid;
    }
    public String getGroup_name() {
        return this.group_name;
    }
    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }
    public String getReason() {
        return this.reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getStatus() {
        return this.status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
}
